home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1996 July / EnigmA AMIGA RUN 09 (1996)(G.R. Edizioni)(IT)[!][issue 1996-07 & 08][EARSAN CD VIII].iso / earcd / util3 / indexer.rdm < prev    next >
Text File  |  1996-06-17  |  4KB  |  99 lines

  1. Short:    Creates index.html ftp area, adds 'short:' info to index
  2. Author:   Robert Wal <reptile@lodz.pdi.net>
  3. Uploader: Robert Wal <reptile@lodz.pdi.net>
  4. Version:  1.00
  5. Type:     util/rexx
  6. Requires: ARexx, commands: SORT JOIN DELETE DATE from workbench
  7.  
  8. *** IMPORTANT *** IMPORTANT *** IMPORTANT *** IMPORTANT *** IMPORTANT ***
  9.  
  10. Due to my lazyness, the archive that I uploaded on aminet, didn't contain
  11. the program itself, only two versions of readme file... :-( I just haven't
  12. checked it....
  13. I appologize all people that downloaded it, and I want to thank here
  14. Martin Brunkow who reported this...
  15. Sorry guys...
  16.  
  17. **************************************************************************
  18.  
  19.   This program is distributed under gnu general public license
  20. (not included here, because it is bigger then the program itself ;-)
  21.  
  22.   Additionally, if you generate the index using this program,
  23.  
  24.    YOU MUST LEAVE THE COPYRIGHT NOTE ON THE ROOT PAGE INTACT!!!
  25.  
  26. **************************************************************************
  27.  
  28. Reason:
  29.  
  30.   Friend of mine, who is system administrator in commercial internet services
  31.   provider, has got his amiga connected to the net. He installed the httpd
  32.   for AmiTCP, but unfortunatelly this daemon doesn't know how to make indexes
  33.   for the directories that don't have the index.html file. eg. ftp area
  34.   directories. And we both like aminet www indexes that show you short field
  35.   from readme, and allow you to read this by just clicking on this field.
  36.   So this script was born to  do this job.
  37.  
  38.   It creates index.html in the given directory and subdirectories. Inserts
  39.   the file '.message' if exists, and adds the field 'short:' from
  40.   corresponding '.readme' file (if exists), making link from this field
  41.   to the '.readme' file itself. If the '.readme' file doesn't contain
  42.   the 'short:' field, present the name of the readme file.
  43.  
  44.   YOU'LL DEFINITELLY RUN INTO TROUBLES IF YOU ARE USING MULTIUSERFILESYSTEM
  45.   AND WANT TO GENERATE INDEX FOR DIRECTORY THAT IS INACCESIBLE FOR
  46.   'NOBODY'. REASON IS SIMPLE: REXXMASTER TASK IS OWNED BY 'NOBODY' AND LET
  47.   IT BETTER STAY THAT WAY :))
  48.  
  49.   I'm thinking about rewriting it in C, but if you know both C and Rexx, you
  50.   know how big work is needed for that job, so be patient. Or better: write
  51.   to me if you need it.
  52.  
  53.   REQUIRES COMMANDS 'SORT', 'JOIN', 'DELETE' and 'DATE' TO BE IN THE PATH!!!
  54.  
  55.   config variables:
  56.  
  57.    guide: if set to 1 the files are generated in the amigaguide format;
  58.           not very smart :) but useful for testing purpouses
  59.  
  60.    hostname: the text that appears in the title, before the directory name
  61.           could be something like: http://plukwa.lodz.pdi.net/ftp/
  62.  
  63. **************************************************************************
  64.  
  65.   Author:
  66.  
  67.     Robert Wal
  68.  
  69.   e-mail:
  70.  
  71.     reptile@lodz.pdi.net
  72.  
  73.   snail-mail:
  74.  
  75.          Robert Wal
  76.     11-go Listopada 35 m 12
  77.          91-371 Lodz
  78.            POLAND
  79.  
  80. **************************************************************************
  81.  
  82.   History:
  83. + - new feature
  84. - - removed feature
  85. ! - bugfix
  86.  
  87. 0.90 - 04-Mar-96
  88.      initial release, beta in ARexx, for friends only
  89. 1.00 - 12-Apr-96
  90.    - no longer generates guides: found good html viewer :)
  91.    ! changed layout of the html file: previous one was a total mess
  92.    + added ability to read productinfo files (extension .pi) like defined
  93.      by Fred Fish on his ADE distribution sites.
  94.    + added "Parent" button to get one level higher. Normally can be
  95.      replaced by using "Back" button of your Browser, except the case when
  96.      you started browsing from inside the archive eg.
  97.  
  98.          http://plukwa.lodz.pdi.net/ftp/amiga/
  99.